/* static/css/style.css */

/* 基础样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 页面列表样式 */
.page-list {
    list-style: none;
    padding: 0;
}

.page-list li {
    margin-bottom: 10px;
}

.page-meta {
    color: #666;
    font-size: 0.9em;
}

/* Markdown内容样式 */
.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3, 
.markdown-content h4, 
.markdown-content h5, 
.markdown-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.markdown-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.markdown-content pre {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
}

.markdown-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 15px;
    color: #666;
    margin-left: 0;
}

/* 页眉页脚样式 */
header {
    margin-bottom: 2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 1em;
}

footer {
    margin-top: 2em;
    border-top: 1px solid #eee;
    padding-top: 1em;
    font-size: 0.9em;
    color: #666;
}
